Skip to content

Conversation

@vovanbravin
Copy link
Collaborator

@vovanbravin vovanbravin commented Nov 21, 2025

@vovanbravin vovanbravin linked an issue Dec 7, 2025 that may be closed by this pull request
@HadronCollider HadronCollider changed the base branch from master to dev December 7, 2025 10:39
Copy link
Collaborator

@HadronCollider HadronCollider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • подтяните изменения из dev и проверьте работу критерия (у меня он почему-то не запустился)

Comment on lines +13 to +16
class TablePercentage(BaseReportCriterion):
label = "Проверка процентного соотношения таблиц в документе"
description = "Проверяет, что таблицы занимают не более установленного процента площади документа"
id = 'table_percentage'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Придерживайтесь шаблонов именования

  • классы - Pres<_>Check
  • id = pres_<>_check

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Отформатируйте код по pep8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Критерий проверки доли таблиц

3 participants